package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="EggLotterySkus对象", description="")
public class EggLotterySkus implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    @ApiModelProperty(value = "活动id")
    private Integer activityId;

    @ApiModelProperty(value = "奖品类型, 1为自定义实物，2为绑定商城商品 3为平台虚拟资产  4为无任何奖品")
    private Integer skuType;

    @ApiModelProperty(value = "当sku_type为2时，绑定的虚拟资产")
    private String assets;

    @ApiModelProperty(value = "当sku_type为1时, 绑定的商品id")
    private Integer productId;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "编号")
    private String number;

    @ApiModelProperty(value = "封面")
    private String thumb;

    @ApiModelProperty(value = "人民币价格")
    private Integer moneyPrice;

    @ApiModelProperty(value = "积分价格")
    private Integer scorePrice;

    @ApiModelProperty(value = "奖品库存")
    private Integer stock;

    @ApiModelProperty(value = "奖品销量")
    private Integer sales;

    @ApiModelProperty(value = "中奖几率, 30表示30%")
    private Double odds;

    @ApiModelProperty(value = "sku等级 1为一等奖 2为二等奖")
    private Integer level;

    @ApiModelProperty(value = "权重")
    private Integer listWeight;

    @ApiModelProperty(value = "0已下架 1为已上架")
    private Integer status;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;


}
